package com.wxapp.pay.api.pojo.pojo.vo.pay;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lgl
 */
@Data
public class QPayCallBackVo {
    /**
     * 订单code
     */
    @Schema(description = "订单code", requiredMode = Schema.RequiredMode.REQUIRED)
    private String orderCode;
    /**
     * 支付方式
     */
    @Schema(description = "支付方式", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String payWay;
    /**
     * 支付时间
     */
    @Schema(description = "支付时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private LocalDateTime payTime;
    /**
     * 支付账号
     */
    @Schema(description = "支付账号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String payAccount;

    /**
     * 构造函数
     */
    public QPayCallBackVo(String orderCode, String payWay, LocalDateTime payTime, String payAccount) {
        this.orderCode = orderCode;
        this.payWay = payWay;
        this.payTime = payTime;
        this.payAccount = payAccount;
    }
}
